import { HeartTwoTone, SmileTwoTone } from '@ant-design/icons';
import { PageContainer, PageHeader } from '@ant-design/pro-components';
import '@umijs/max';
import { Alert, Card, Typography } from 'antd';
import React from 'react';

// import { PropsWithChildren, FC } from 'react';
// export type RFC<T = unknown> = FC<PropsWithChildren<T>>;

// const Admin: RFC = (props) => {
//   const {children} = props;
//   return (
//     <PageContainer>
//       {children}
//     </PageContainer>
//   );
// };


interface IProps {
  children: React.ReactNode;
}

const Admin: React.FC<IProps> = (props) => {
  const {children} = props;
  return (
    <PageContainer>
      {children}
    </PageContainer>
  );
};
export default Admin;
